/* =========================================================
   全体
========================================================= */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background: #f7f7f7;
  line-height: 1.7;
  margin: 0;
}

@media print {
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  img {
    display: block !important;
  }
}

/* =========================================================
   ヘッダー
========================================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area img {
  height: 64px;
}

/* Utility nav */
.utility-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;   /* マーカーを非表示 */
}

.utility-nav .msize,
.utility-nav .lsize {
  background: #ffffff;
  border: 1px solid #999;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  min-width: 60px;
  height: 42px;
}

.utility-nav .msize.active,
.utility-nav .lsize.active {
  background: #0b2c52;
  color: #fff;
  border-color: #0b2c52;
}

.utility-nav a {
  color: #0b2c52;
  font-weight: 500;
}

/* ページ内リンクの位置補正 */
[id] {
  scroll-margin-top: 195px;
}

[id]::before {
  content: "";
  display: block;
  height: 1px;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 14px 16px;
  }

  .utility-nav {
    display: none;
  }

[id] {
  scroll-margin-top: 140px;
}

}

/* =========================================================
   グローバルナビ（PC）
========================================================= */
.global-nav {
  background: #0b2c52;
}

.global-nav ul {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;   /* マーカーを非表示 */
}

.global-nav a {
  color: #fff;
  padding: 14px 0;
  display: block;
  font-weight: 500;
}

.global-nav a:hover {
  opacity: 0.7;
}

/* =========================================================
   ハンバーガーメニュー（SP）
========================================================= */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
  background: #0b2c52;
  align-self: center;
}

.hamburger span {
  position: absolute;
  width: 28px;
  height: 3px;
  background: #fff;
  left: 6px;
  transition: .3s;
}

.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 30px; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 21px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 21px;
}

/* SPナビ */
@media (max-width: 768px) {
  .global-nav {
    position: relative;
    z-index: 1000;
  }

  .global-nav ul {
    display: none;
    flex-direction: column;
    background: #0b2c52;
    padding: 20px;
    width: 100%;
    align-items: flex-start;
  }

  .global-nav ul.active {
    display: flex;
  }

  .global-nav ul li {
    width: 100%;
  }

  .global-nav a {
    padding: 14px 0;
    width: 100%;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .logo-area img {
    height: 48px;
  }
}

/* =========================================================
   Hero（トップページ専用）
========================================================= */
.hero {
  background: url("https://www.crs.or.jp/common/images/hero.png") center/cover no-repeat;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero h2 {
  margin-top: 25px;
  font-size: 2.2rem;
/*  margin-bottom: 10px;*/
}

.hero h2 span{
  font-size: 3.2rem;
/*  margin-bottom: 10px;*/
}

.hero p {
  margin-top: -25px;
  font-size: 1.0rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .hero {
    display: none;
  }
}

/* =========================================================
   パンくず（breadcrumb）
========================================================= */
.breadcrumb {
  background: #f0f4f8;
  border-bottom: 1px solid #d5dce3;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.breadcrumb ul {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb li {
  color: #666;
}

.breadcrumb li a {
  color: #0b2c52;
  text-decoration: none;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 8px;
  color: #999;
}

.breadcrumb li:last-child::after {
  content: "";
}

/* =========================================================
   セクション
========================================================= */
.section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.section-title {
  font-size: 1.6rem;
  border-left: 6px solid #0b2c52;
  padding-left: 12px;
  margin-bottom: 20px;
}

/* =========================================================
   お知らせ
========================================================= */
.alert-box {
  background: #fff8d8;
  border-left: 4px solid #cfae2a;
  padding: 15px;
  font-weight: 500;
}

/* =========================================================
   カード（実施中の調査）
========================================================= */
.card-list {
  display: grid;
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  transition: box-shadow .2s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.1rem;
  color: #0b2c52;
  font-weight: 600;
}

/* =========================================================
   PDFリスト
========================================================= */
.pdf-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 70px;
}

.pdf-list a {
  color: #0b2c52;
  font-weight: 500;
}

.pdf-date {
  position: absolute;
  left: 0;
  top: 0;
  color: #666;
  font-size: 0.9rem;
}

/* =========================================================
   中央調査報
========================================================= */
.report-card {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  position: relative;
  padding-top: 40px;
  margin-bottom: 20px;
  transition: box-shadow .2s;
}

.report-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.report-card a {
  color: #0b2c52;
  font-weight: 500;
}

.report-date {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #666;
  font-size: 0.9rem;
}
.chosaho-contents h2 {
  text-align: center;
}
.chosaho-contents .author {
  text-align: right;
}
/* =========================================================
   sp テーブル
========================================================= */
.sp-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background: #fff;
  border: 1px solid #e5e5e5;
}

.sp-table th,
.sp-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
  line-height: 1.6;
}

.sp-table th {
  width: 160px;
  background: #f4f7fb;
  font-weight: 600;
  color: #0b2c52;
}

.sp-table tr:last-child th,
.sp-table tr:last-child td {
  border-bottom: none;
}


@media (max-width: 768px) {

  .sp-table tr {
    display: block;
    margin-bottom: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
  }

  .sp-table th,
  .sp-table td {
    display: block;
    width: 100%;
    border: none;
    padding: 6px 0;
  }

  .sp-table th {
    font-weight: 600;
    color: #0b2c52;
    margin-bottom: 4px;
  }

  .sp-table td {
    color: #333;
    line-height: 1.6;
  }
}

/* =========================================================
   アクセス（地図＋住所）
========================================================= */
.access-wrap {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 20px;
}

.access-box {
  flex: 1;
}

.iframe-box {
  flex: 1;
}

.iframe-box iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .access-box table + table {
    margin-top: 20px;
  }

  .access-wrap {
    flex-direction: column;
    gap: 24px;
  }

  .iframe-box iframe {
    height: 500px;
    width: 500px;
    border-radius: 6px;
  }

  .access-box {
    order: 2;
  }

  .iframe-box {
    order: 1;
  }
}

/* =========================================================
   プライバシーポリシー
========================================================= */
.privacy-contact-box {
  background: #ffffff;
  border: 1px solid #d5dce3;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
  line-height: 1.7;
}

.privacy-contact-box a {
  color: #0b2c52;
  text-decoration: underline;
}

.detail ul,
.detail ul.sub {
  list-style: none;
  padding-left: 12px;
/*  margin-left: 0;*/
}

.detail ul li,
.detail ul.sub li {
  padding-left: 12px;
/*  margin-left: 0;*/
}

/* =========================================================
   contact
========================================================= */
.contact-contents-4 span,
.contact-contents-3 span,
.contact-contents-1 span {
  color: #0b2c52;
  font-weight: 600;
}

/* =========================================================
   フッターメニュー
========================================================= */

.footer-menu {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin: 40px 0 20px;
  flex-wrap: wrap;
}


.footMenuColumn ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
}

.footMenuColumn > ul > li {
  margin-bottom: 10px;
}

.footMenuColumn a {
  color: #e8f2ff;
  font-size: 1rem;
  text-decoration: underline;
}

.footMenuSub {
  list-style: circle;
  margin-top: 8px;
  padding-top: 8px;
  padding-left: 30px;
}

.footMenuSub li {
  margin-bottom: 6px;
}

.footMenuSub a {
  font-size: 0.95rem;
  color: #f0f8ff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-menu {
    flex-direction: column;
    gap: 24px;
  }
}

.site-footer {
  background: #0b2c52;
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
}

.copy {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}
/* プライバシーマーク＋バナー */
#footerSection {
  margin-top: 30px;
  text-align: center;
  color: #fff;
}

#footerSection .footer-flex {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

#footerSection .pmark-block img {
  height: 75px;
  width: auto;
}

#footerSection .pmark-text {
  font-size: 14px;
  line-height: 1.5;
  width: 320px;
  text-align: left;
}

#footerSection .jpbanner-block img {
  height: 60px;
  width: auto;
}

/* SPフッター */
@media (max-width: 768px) {
  #footerSection .footer-flex {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
  }

  #footerSection .pmark-text {
    width: 320px;
    text-align: left;
  }
}

/* =========================================================
   文字サイズ切替
========================================================= */
body.font-normal {
  font-size: 16px;
}

body.font-large {
  font-size: 18px;
}

.utility-nav .msize.active,
.utility-nav .lsize.active {
  background: #0b2c52;
  color: #fff;
  border-color: #0b2c52;
}

/* =========================================================
   Topに戻る
========================================================= */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background: #0b2c52;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}